package com.hns.can.master.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.hns.can.common.entity.BaseEntity;

/**
 * 组织结构表 对应的 实体类
 * @author:Fisher
 * @email:zhuangcaijin@126.com
 * @version Revision 2.0.0
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "T_BASE_ORGAN")
public class BaseOrganEntity extends BaseEntity implements java.io.Serializable {
    
    // Fields
    
    /** 机构ID */
    @Id
    @Column(name = "ORGAN_ID")
    private String organId;
    
    /** 企业ID */
    @Column(name = "CORP_ID")
    private String corpId;
    
    /** 机构编号 */
    @Column(name = "ORGAN_CD")
    private String organCd;
    
    /** 机构名称 */
    @Column(name = "ORGAN_NAME")
    private String organName;
    
    /** 机构简称 */
    @Column(name = "ORGAN_SHORT_NAME")
    private String organShortName;
    
    /** 机构类型 */
    @Column(name = "ORGAN_TYPE")
    private String organType;
    
    /** 流水号 */
    @Column(name = "SNO")
    private String sno;
    
    /** 上级机构ID */
    @Column(name = "PARENT_ORGAN_ID")
    private String parentOrganId;
    
    /** 联系人 */
    @Column(name = "CTC_USER")
    private String ctcUser;
    
    /** 联系电话 */
    @Column(name = "CTC_TEL")
    private String ctcTel;
    
    /** 邮箱地址 */
    @Column(name = "EMAIL_ADR")
    private String emailAdr;
    
    /** 备注 */
    @Column(name = "REMARK")
    private String remark;
    
    /** 启停状态 */
    @Column(name = "ENABLED_ST")
    private String enabledSt;
    
    /** 创建时间 */
    @Column(name = "CRT_TIME")
    private Date   crtTime;
    
    /** 创建人 */
    @Column(name = "CRT_USER")
    private String crtUser;
    
    /** 更新时间 */
    @Column(name = "UPDATE_TIME")
    private Date   updateTime;
    
    /** 更新人 */
    @Column(name = "UPDATE_USER")
    private String updateUser;
    
    /** 所属省份 */
    @Column(name = "PROVINCE_ID")
    private String provinceId;
    
    /** 所属省份 */
    @Column(name = "CITY_ID")
    private String cityId;
    
    @Column(name = "SORT")
    private String sort;
    
    @Transient
    private String corpName;      // 企业名称
    
    @Transient
    private String cityName;
    
    @Transient
    private String provinceName;
    
    @Transient
    private String province;

    public String getOrganId() {
        return this.organId;
    }
    
    public void setOrganId(String organId) {
        this.organId = organId;
    }
    
    public String getCorpId() {
        return this.corpId;
    }
    
    public void setCorpId(String corpId) {
        this.corpId = corpId;
    }
    
    public String getOrganCd() {
        return this.organCd;
    }
    
    public void setOrganCd(String organCd) {
        this.organCd = organCd;
    }
    
    public String getOrganName() {
        return this.organName;
    }
    
    public void setOrganName(String organName) {
        this.organName = organName;
    }
    
    public String getOrganShortName() {
        return this.organShortName;
    }
    
    public void setOrganShortName(String organShortName) {
        this.organShortName = organShortName;
    }
    
    public String getOrganType() {
        return this.organType;
    }
    
    public void setOrganType(String organType) {
        this.organType = organType;
    }
    
    public String getSno() {
        return this.sno;
    }
    
    public void setSno(String sno) {
        this.sno = sno;
    }
    
    public String getParentOrganId() {
        return this.parentOrganId;
    }
    
    public void setParentOrganId(String parentOrganId) {
        this.parentOrganId = parentOrganId;
    }
    
    public String getCtcUser() {
        return this.ctcUser;
    }
    
    public void setCtcUser(String ctcUser) {
        this.ctcUser = ctcUser;
    }
    
    public String getCtcTel() {
        return this.ctcTel;
    }
    
    public void setCtcTel(String ctcTel) {
        this.ctcTel = ctcTel;
    }
    
    public String getEmailAdr() {
        return this.emailAdr;
    }
    
    public void setEmailAdr(String emailAdr) {
        this.emailAdr = emailAdr;
    }
    
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    public String getEnabledSt() {
        return this.enabledSt;
    }
    
    public void setEnabledSt(String enabledSt) {
        this.enabledSt = enabledSt;
    }
    
    public Date getCrtTime() {
        return this.crtTime;
    }
    
    public void setCrtTime(Date crtTime) {
        this.crtTime = crtTime;
    }
    
    public String getCrtUser() {
        return this.crtUser;
    }
    
    public void setCrtUser(String crtUser) {
        this.crtUser = crtUser;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
    public String getProvinceId() {
        return provinceId;
    }
    
    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }
    
    public String getCityId() {
        return cityId;
    }
    
    public void setCityId(String cityId) {
        this.cityId = cityId;
    }
    
    public String getCorpName() {
        return corpName;
    }
    
    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }
    
    public String getSort() {
        return sort;
    }
    
    public void setSort(String sort) {
        this.sort = sort;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    
}
